home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / POSTSCPT / GSVIEW / EPSTOOL.ZIP / epstool / makefile.tc < prev    next >
Encoding:
Makefile  |  1995-09-27  |  1.9 KB  |  72 lines

  1. # Copyright (C) 1993, 1994, Russell Lang.  All rights reserved.
  2. #  
  3. # This file is part of GSview.
  4. #  
  5. # This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6. # or distributor accepts any responsibility for the consequences of using it,
  7. # or for whether it serves any particular purpose or works at all, unless he
  8. # or she says so in writing.  Refer to the GSview Free Public Licence 
  9. # (the "Licence") for full details.
  10. #  
  11. # Every copy of GSview must include a copy of the Licence, normally in a 
  12. # plain ASCII text file named LICENCE.  The Licence grants you the right 
  13. # to copy, modify and redistribute GSview, but only under certain conditions 
  14. # described in the Licence.  Among other things, the Licence requires that 
  15. # the copyright notice and this notice be preserved on all copies.
  16.  
  17. # makefile.tc
  18. # EPSTOOL
  19.  
  20. # Edit COMPBASE and WIN32 as required
  21. COMPBASE = d:\bc45
  22. # WIN32=1 for Win32 version (not supported yet)
  23. WIN32=0
  24.  
  25. # Shouldn't need editing below here
  26. COMPDIR = $(COMPBASE)\bin
  27. INCDIR = $(COMPBASE)\include
  28. LIBDIR = $(COMPBASE)\lib
  29. !if $(WIN32)
  30. WINEXT=32
  31. CC = bcc32
  32. CCAUX = bcc
  33. MODEL=32
  34. CFLAGS=-v -w -DMSDOS -DEPSTOOL -I$(INCDIR)
  35. !else
  36. WINEXT=
  37. CC = bcc
  38. CCAUX = bcc
  39. MODEL=l
  40. CFLAGS=-v -m$(MODEL) -h -w -DMSDOS -DEPSTOOL -I$(INCDIR) -I..\src
  41. !endif
  42. OBJS=epstool.obj ps.obj gvceps.obj
  43.  
  44. all: epstool.exe
  45.  
  46. .c.obj:
  47.     $(COMPDIR)\$(CC) -c $(CFLAGS) {$< }
  48.  
  49.     
  50. epstool.exe: $(OBJS)
  51.     $(COMPDIR)\tlink /Tde /c /m /s /v /l @&&!
  52. $(LIBDIR)\c0$(MODEL) +
  53. $(OBJS) +
  54. ,epstool.exe,epstool, +
  55. $(LIBDIR)\math$(MODEL) +
  56. $(LIBDIR)\emu +
  57. $(LIBDIR)\c$(MODEL)
  58. !
  59.  
  60. epstool.obj: epstool.c epstool.h ../src/ps.h ../src/gvceps.c
  61.  
  62. ps.obj: ../src/ps.c epstool.h ../src/ps.h ../src/gvceps.c
  63.     $(COMPDIR)\$(CC) -c $(CFLAGS) ../src/ps.c
  64.  
  65. gvceps.obj: ../src/gvceps.c epstool.h ../src/ps.h ../src/gvceps.c
  66.     $(COMPDIR)\$(CC) -c $(CFLAGS) ../src/gvceps.c
  67.  
  68. clean:
  69.     -del epstool.obj
  70.     -del ps.obj
  71.     -del gvceps.obj
  72.